net/http.Transport.connsPerHost (field)
8 uses
net/http (current package)
transport.go#L109: connsPerHost map[connectMethodKey]int
transport.go#L1443: if n := t.connsPerHost[w.key]; n < t.MaxConnsPerHost {
transport.go#L1444: if t.connsPerHost == nil {
transport.go#L1445: t.connsPerHost = make(map[connectMethodKey]int)
transport.go#L1447: t.connsPerHost[w.key] = n + 1
transport.go#L1489: n := t.connsPerHost[key]
transport.go#L1524: delete(t.connsPerHost, key)
transport.go#L1526: t.connsPerHost[key] = n
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |